package pl3;
%%

%class TokenProviderImpl
%implements TokenProvider
%unicode
%line
%column
%type String


%init{

/* <java variables initialization> */

%init}

%{

/* <java variables declaration> */
/* <java methods needed> */
public TokenProviderImpl() {
}

%}

/* <regular expessions macros> */

%%

"id"	{return yytext();}
"#"	{return yytext();}
"num"	{return yytext();}
"$"	{return yytext();}
"*"	{return yytext();}
"+"	{return yytext();}
"("	{return yytext();}
")"	{return yytext();}
\r|\n|\r\n|\u2028|\u2029|\u000B|\u000C|\u0085 {}
<<EOF>>	{return "$";}
.	{}
